-
Home
-
ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF
-
6.0.4 (latest)
-
Code
-
Classes
- EnvironmentModel
Total Complexity |
71 |
Dependencies |
3 |
Dependents |
1 |
Total lines |
428 |
Lines of code |
256 |
Logical lines of code |
141 |
Comment lines |
50 |
Methods |
23 |
Properties |
25 |
Methods 23
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
setScreen() |
A |
47 |
9 |
37 |
plugin_active() |
A |
45 |
7 |
43 |
setWordPress() |
S |
60 |
6 |
11 |
setServer() |
S |
62 |
6 |
9 |
IsOverTimeLimit() |
S |
54 |
4 |
22 |
is_function_usable() |
S |
61 |
4 |
12 |
IsOverMemoryLimit() |
S |
56 |
3 |
18 |
setDefaultViewModeList() |
S |
61 |
3 |
13 |
determineFrontBack() |
S |
71 |
3 |
6 |
useTrustedMode() |
S |
69 |
3 |
7 |
useDoubleAvifExtension() |
S |
73 |
3 |
5 |
useDoubleWebpExtension() |
S |
73 |
3 |
5 |
unitToInt() |
S |
64 |
2 |
9 |
getInstance() |
S |
73 |
2 |
5 |
useVirtualHeavyFunctions() |
S |
72 |
2 |
5 |
hasOffload() |
S |
66 |
2 |
8 |
hasImagick() |
S |
66 |
2 |
8 |
checkPHPVersion() |
S |
69 |
2 |
7 |
setIntegrations() |
S |
75 |
1 |
4 |
getRelativePluginSlug() |
S |
66 |
1 |
8 |
getOffloadName() |
S |
72 |
1 |
5 |
getSystemLoad() |
S |
80 |
1 |
3 |
__construct() |
S |
70 |
1 |
6 |